package net.neptech.service;

import cn.hutool.core.lang.Dict;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import net.neptech.model.dto.MessageDto;
import net.neptech.model.dto.PageMessageDto;
import net.neptech.model.workflow.NotificationMessage;

import java.util.List;

public interface MessageService {
    Dict queryUnreadNum(Long lastId);

    void saveMessage(MessageDto messageDto);

    Page<NotificationMessage> queryList(PageMessageDto pageDto);

    void delete(PageMessageDto messageDto);

    void read(PageMessageDto messageDto);

    void readAll();

    void clearProcess(List<String> flowIdList);
}
